package com.hedl.practice.diyJava.reflex.study_01.tmp;

public class Person {
    public String name;     //姓名
    protected String age;       //年龄
    private String hobby;       //爱好

    public String getHobby(){
        return hobby;
    }

    public Person(String name, String age, String hobby) {
        this.name = name;
        this.age = age;
        this.hobby = hobby;
    }
}
